CustomMultilineTextWidget

constructor(message: Text, lineHeight: Int = 9, topPadding: Int = 0, bottomPadding: Int = topPadding, leftPadding: Int = 0, rightPadding: Int = 0)

Parameters

message

Text the text to split and display

lineHeight

space between lines, default 9 (MC standard)

topPadding

pixels of padding above the text. Will add to the widget's height.

bottomPadding

pixels of padding below the text. Will add to the widget's height.

leftPadding

pixels of padding on the left side of the text.

rightPadding

pixels of padding on the right side of the text.